package com.dl.study.config.jwt;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: user
 * @Date: 2021/10/25 10:23
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginUser implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    public Long userId;
    /**
     * 账号
     */
    public String account;
    /**
     * 姓名
     */
    public String name;

    public LoginUser(String account) {
        this.account = account;
    }
}
